//
//  YXJMusicModel.m
//  Piece
//
//  Created by dllo on 16/6/8.
//  Copyright © 2016年 Northeast Dianli University. All rights reserved.
//

#import "YXJMusicModel.h"
#import "YXJAuthorModel.h"
@implementation YXJMusicModel

- (void)setAuthor:(NSDictionary *)author
{
    if (_author != author) {
        _author = author;
       
        YXJAuthorModel *authorModel = [[YXJAuthorModel alloc] initWithDic:author];
        self.authorModel = authorModel;
    }
}

- (void)setStory_author:(NSDictionary *)story_author
{
    if (_story_author != story_author) {
        _story_author = story_author;
        
        YXJStoryAuthorModel *storyAuthorModel = [[YXJStoryAuthorModel alloc] initWithDic:story_author];
        self.storyAuthorModel = storyAuthorModel;
    }
}

@end
